<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            width: 500px;
            margin: 0 auto;
        }
        div table td {
            width: 20px;
            height: 20px;
            border-collapse: collapse;
        }
    </style>
</head>
<body>
	<script>
    var i = 0;
    var j = 30;
    while (i!=(j/2)){
        i++;
        j++;
    }
    console.log(i);
    console.log(j);
</script>
</body>
</html>